<template>
	<div class="nav">
		<div class="logo">
			<img src="../assets/logo.png" alt="">
			<h1>CITY</h1>
		</div>
		<div class="location">
			<!-- 城市切换 -->
			<a href=""></a>
		</div>
		<div class="navbox">
			<router-link to="">近期活动</router-link>
			<router-link to="">主办方</router-link>
			<router-link to="">舞台剧</router-link>
		</div>
		<div class="searchbox">
			<input class="searchtext" type="search" placeholder="活动/舞台剧/地点">
			<span class="searchimg"></span>
		</div>
	</div>
</template>

<script>
</script>

<style lang="scss" scoped>
	.nav {
		height: 66px;
		background: #f6f5f2;
		min-width: 1040px;
		display: flex;
		align-items: center;

		.logo {
			margin-left: 154px;
			width: 250px;
			height: 60px;
			display: flex;
			align-items: center;

			img {
				width: 150px;
				height: 45px;
			}

			h1 {
				color: coral;
				font-size: 30px;
				font-style: italic;
			}
		}

		.location {}

		.navbox {
			width: 240px;
			display: flex;
			justify-content: space-around;
			font: 15px Helvetica, Arial, sans-serif;

			a {
				color: #643;
			}

			margin-right: 350px;
		}

		.searchbox {
			width: 220px;
			height: 30px;
			border: 1px solid #e3e2de;
			text-align: left;
			background: #fff;

			.searchtext {
				margin: 0;
				width: 92%;
				height: 30px;
				line-height: "26px ";
				background: none;
				text-align: left;
				padding-left: 10px;
				outline: none;
				border: none;
			}
			.searchtext::placeholder{
				color: #e3e2de;
			}
		}
	}
</style>
